﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace dzs.Web
{
    public partial class top : Web.Admin.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["login"] != null)
                {
                    DataSet ds = Session["login"] as DataSet;
                    if (ds.Tables[0].Rows.Count > 0)
                    {
                        myinfo.Text = ds.Tables[0].Rows[0]["user_name"].ToString();
                    }

                }
            }

        }

        protected void LinkButton1_Click(object sender, EventArgs e)
        {
            Session.Abandon();
            Maticsoft.Common.MessageBox.ResponseScript(this, "top.location.href='../Default.aspx'");
        }
    }
}